package com.charactereducation.dao;


import com.charactereducation.module.vo.Activity;
import com.charactereducation.module.vo.User;
import com.charactereducation.tools.myRunTime.MyRunTimeExcption;

import java.util.List;
import java.util.Map;

public interface UserMapper {

    User getUserById(Long userId) throws MyRunTimeExcption;
    User Login(Map<String,String> map) throws MyRunTimeExcption;
    List<User> getUserList(Map<String,String> map) throws MyRunTimeExcption;
    void insertUser(User user) throws MyRunTimeExcption;
    void updateUserById(User user) throws MyRunTimeExcption;
}